﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace PloobsEngine.SceneControl
{
    public interface IDeferredGBuffer
    {
        void SetGBuffer();
        void ResolveGBuffer();
        void ClearGBuffer();
        void PreDrawScene(GameTime gameTime, IWorld world);
        void DrawScene(GameTime gameTime,IWorld world);
        void LoadContent(EngineStuff engine, IRenderHelper render);


        Texture2D this[GBufferTypes type]
        {
            get;
        }
    }

        public enum GBufferTypes
        {
            DEPH,COLOR,NORMAL,Extra1,FINALIMAGE
            ///so os 4 primeiros estao ativados
        }
}
